﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace MShop.Core.Domain
{
    [MetadataType(typeof(Supplier_Validation))]
    public partial class Supplier
    {
        
    }

    internal partial class Supplier_Validation
    {

        [DisplayName("名称")]
        [System.ComponentModel.DataAnnotations.Required(ErrorMessage = "名称不能为空")]
        public string Name { get; set; }
        [DisplayName("联系人")]
        public string LinkMan { get; set; }
        [DisplayName("固定电话")]
        public string Tel { get; set; }
        [DisplayName("移动电话")]
        public string Mobile { get; set; }
        [DisplayName("地址")]
        public string Address { get; set; }
     
    }
}